<include file="Common:header" />
<link rel="stylesheet" href="__PUBLIC__/Css/show.css" />
<include file="Common:nav" />
<!--如果下面有代码php代码部分需要高亮，这样就需要用到百度编辑器ueditor里面的文件引入-->
<link rel="stylesheet" href="__ROOT__/Data/Ueditor/third-party/SyntaxHighlighter/shCoreDefault.css">
<script type="text/javascript" src="__ROOT__/Data/Ueditor/third-party/SyntaxHighlighter/shCore.js"></script>
<script type="text/javascript">
	//调用一下高亮函数即可
	SyntaxHighlighter.all();
	//注意用上面函数的时候不要用
	/*window.onload() = function (){
		//这样就不起效果了
		SyntaxHighlighter.all();
	}*/
</script>
<!--主体-->
	<div class='main'>
		<div class='main-left'>
			<div class='location'>
				<a href="">首页</a>>
				<php>$last = count($parent) - 1;</php>
				<foreach name="parent" item="v"><!--注意如果不写key=什么，默认为$key-->
					<a href="{:U('/c_'.$v['id'])}">{$v.name}</a><if condition="$key neq $last">></if>
				</foreach>
			</div>
			<div class="title">
				<p>{$blog.title}</p>
				<div>
					<span class='fl'>发布于：{$blog.time|date='Y年m月d日',###}</span>
					<span class='fr'>已被阅读<script type="text/javascript" src='{:U(GROUP_NAME."/Show/clickNum",array("id" => $blog["id"]))}'></script> 次</span>
				</div>
			</div>
			<div class='content' style="word-break: break-all">
				{$blog.content}
			</div>
		</div>
		<include file="Common:right" />
	</div>
<include file="Common:bottom" />
